//
//  NSObject+CYBugly.h
//  CreditAddressBook
//
//  Created by LE on 15/12/8.
//  Copyright © 2015年 Lee. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject (CYBugly)
- (void)reportException:(NSException *)exc;
- (void)reportError:(NSError *)err;
- (void)reportError:(NSError *)err reason:(NSString *)reason;
- (void)reportException:(NSException *)exc reason:(NSString *)reason;
+ (void)reportError:(NSError *)err reason:(NSString *)reason;
+ (void)reportException:(NSException *)exc reason:(NSString *)reason;
+ (void)reportReason:(NSString *)reason;

+ (void)logWarn:(NSString *)warn;
- (void)logWarn:(NSString *)warn;
+ (void)reportReason:(NSString *)reason logWarn:(NSString *)warn;
- (void)reportReason:(NSString *)reason logWarn:(NSString *)warn;

+ (void)logError:(NSString *)error;
- (void)logError:(NSString *)error;

+ (void)reportError:(NSError *)err reason:(NSString *)reason logError:(NSString *)error;
- (void)reportError:(NSError *)err reason:(NSString *)reason logError:(NSString *)error;
@end
